package com.wufeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName reply
 */
@TableName(value ="reply")
@Data
public class Reply implements Serializable {
    /**
     * 回复Id
     */
    @TableId(value = "replyId", type = IdType.AUTO)
    private Integer replyid;

    /**
     * 文章Id，确定该回复是在哪个文章下的回复
     */
    @TableField(value = "articleId")
    private Integer articleid;

    /**
     * 发送者Id
     */
    @TableField(value = "userId")
    private Integer userid;

    /**
     * 接收者Id
     */
    @TableField(value = "receiveId")
    private Integer receiveid;

    /**
     * 回复的时间
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 回复的内容
     */
    @TableField(value = "replyContent")
    private String replycontent;

    /**
     * 点赞数量
     */
    @TableField(value = "likeCount")
    private Integer likecount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}